_3DMLCreator
_3DMLCreator is a 64-bit .NET interface that is responsible for creating a unified, stream optimized 3D Mesh Layer (3DML) database from any of the following:
§ Model Layers –Point shapefiles that reference individual 3D model files.
§ Mesh Layers – 3D mesh models, which are either generated by PhotoMesh or created in an external application as OSGB layers.
§ BIM Layers – Building Information Modeling (BIM) layers that store the geographic location and attribute data of models. TerraExplorer supports Autodesk’s FBX format for BIM layers.
Since this API cannot be used in the same process as TerraExplorerX.dll, TerraExplorer can either be used as an out of process object using ITE3DWindowEx or the 3DML creator can be instantiated from another executable. This API is only available with a TerraExplorer Pro license.
Note: This API is asynchronous. The events will arrive on different threads and it is the responsibility of the caller to synchronize them if necessary. When executing UI work in event callback, make sure to transfer control to the UI thread.
See “Creating a C# Client Application” for step by step instructions on Creating a C# client application using the _3DMLCreator interface.
|
Properties |
|
|
General information about the created 3DML. |
|
|
The coordinate system in which the 3DML will be created. |
|
|
The name of the project. |
|
|
Methods |
|
|
Adds a specified BIM layer for inclusion in the 3DML. |
|
|
Adds a specified model layer in point shapefile format from which the 3DML will be created. |
|
|
AddMeshDataSource |
Reserved. Currently not used. |
|
Initializes the 3DML creation process. |
|
|
Removes a specified point shapefile from 3DML creation. |
|
|
Cancels 3DML creation. |
|
|
Events |
|
|
This event occurs when an error disrupts 3DML creation. |
|
|
This event occurs when 3DML creation is finished. |
|
|
This event notifies the client about the 3DML creation progress. |
|
|
This event notifies the client when there is a problem with the 3DML. In contrast to OnError, the warning does not halt 3DML creation. |